let roleids = params.roleids;
new service(`${CONST.TABLE_PREFIX}_authorization_delete_bywhatid`).invoke(params.whatid).then(result=>{
  return new service(`${CONST.TABLE_PREFIX}_authorization_insert`).invoke(params);
}).then(result=>{
  ret(null,'更新成功!');
}).catch(err=>{
  ret(err);
});